import toToken from './toToken'
import renderTemplate from './renderTemplate';
window.sgg_template = {
    render(template, data) {
        var token = toToken(template)
        var str = renderTemplate(token, data)
        return str
    }
}